package cn.com.nes.site.service.crm.opportunity;

import cn.com.nes.mybatis.agent.crm.entity.OpportunityEnergyType;
import cn.com.nes.site.service.crm.opportunity.bo.OpportunityEnergyTypeBo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface OpportunityEnergyTypeService extends IService<OpportunityEnergyType> {

    void save(OpportunityEnergyTypeBo opportunityEnergyTypeBo) throws Exception;

    /**
     * 查询能源类型范围
     * @param opportunityUuid 商务项目UUID
     * @return
     * @throws Exception
     */
    List<OpportunityEnergyType> getEnergyTypes(String opportunityUuid) throws Exception;

}
